<template>
    <div class="goods">
      <goods-list-item v-for="(item,index) in goods" :goods-item="item" :key="index"/>
    </div>
</template>

<script>
  import GoodsListItem from './GoodsListIterm.vue'

    export default {
        name: "GoodsList",
      props:{
          goods:{
            type:Array,
            default(){
              return [];
            }
          }
      },
      components:{
        GoodsListItem
      }
    }
</script>

<style scoped>

</style>
